Replication File for "#No2Sectarianism:Experimental Approaches to Reducing Sectarian Hate Speech Online" 


** Citation **

Siegel, Alexandra A. and Vivienne Badaan. 2020. "#No2Sectarianism:Experimental Approaches to Reducing Sectarian Hate Speech Online.” The American Political Science Review. 

@article{Siegel2020,
author = {Siegel, Alexandra A. and Vivienne Badaan},
journal = {The American Political Science Review},
title = {{#No2Sectarianism:Experimental Approaches to Reducing Sectarian Hate Speech Online}},
volume = {(forthcoming)},
year = {2020}
}


** Notes **

Set the working directory to the folder where ReadMe.txt is located.

Analysis run using R version 3.5.1 

** Data Subfolders and Datasets **

 (in the "data" directory)
 
1. twitter_data.csv

-- This dataset contains anonymized data from the Twitter experiment. The variables include anti-shia and total tweet counts for each non-overlapping time period, treatment variables, and subject metadata variables.  

1. survey_data.csv

-- This dataset contains anonymized data from the survey experiment. The variables include tweet ratings, treatment variables, and control variables.  

** R files **

 (in the "code" directory)
If R files are run, they will generate the figures in the paper and online appendix and save them into the "figures" directory. They also  generate the latex tables found in the online appendix. 

1. twitter_analysis.R
-- Creates coefficient plots, regression tables, and descriptive statistics for the Twitter experiment.
-- Output: Figures 2-5, A2-A21 & Tables A2-21

2. survey_analysis.R
-- Creates coefficient plots, regression tables, and descriptive statistics for the survey experiment.
-- Output: Figures 6-7 & Tables A22-A24




